﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;


    /// <summary>
    /// 推送消息包
    /// </summary>
    /// <typeparam name="T"></typeparam>
public class PushMessagePackage<T>
{
    /// <summary>
    ///由推送消息接送放提供 一般用户身份验证的字符串
    /// </summary>
    public string PushHeader
    {
        get;
        set;
    }
    /// <summary>
    /// 推送消息内容封装
    /// </summary>
    public List<T> PushContents
    {
        get;
        set;
    }

    public string ToJson()
    {

        return JsonConvert.SerializeObject(this);
    }
}

